
package cn.edu.scau.cmi.front.service;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Set;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.MultipartFile;

import cn.edu.scau.cmi.ema.domain.Event;
import cn.edu.scau.cmi.front.domain.FrontEventPagination;

public interface FrontEventService {

	

	void saveEntity2JsonFile(Map<String, Object> objects, String eventUploadDirectory, String fileName) throws FileNotFoundException, IOException;

	Map<String, Object> wrapEntitys(MultipartFile[] multipartFiles, MultipartFile[] multipartFilesForVedio,
			HttpServletRequest request, String fileNamePostfix);

	Integer countEvents(FrontEventPagination frontEventPagination);

	FrontEventPagination updatePagination(HttpServletRequest request, FrontEventPagination frontEventPagination);

	Set<Event> getPaginationEvents(FrontEventPagination frontEventPagination);

	
	
}